package com.bookstore.entity;

public class User {
    private Integer Id;
    private String password;
    private String sex;
    private String email;
    private String phone;

    @Override
    public String toString() {
        return "User{" +
                "Id=" + Id +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public Integer getId() {
        return Id;
    }

    public void setId(Integer id) {
        Id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public User(Integer id, String password, String sex, String email, String phone) {
        Id = id;
        this.password = password;
        this.sex = sex;
        this.email = email;
        this.phone = phone;
    }

    public User() {
    }
}
